package com.ydl.learning.flink.demo.pipeline

/**
 *
 *
 * @author ydl
 * @since 2022/3/26
 */
class PipelineData {
  private var data: Any = _

  def setData[T](data: T): Unit = {
    this.data = data
  }

  def getData[T]: T = {
    data.asInstanceOf[T]
  }

  override def toString: String = {
    this.data.toString
  }
}
